package com.anolesoft.yr.mbus.contm.dao;

import com.anolesoft.yr.mbus.contm.entity.ContmMain;
import com.anolesoft.yr.mbus.contm.entity.ContmMainExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ContmMainDao extends BaseMapper<ContmMain> {
    long countByExample(ContmMainExample example);

    int deleteByExample(ContmMainExample example);

    List<ContmMain> selectByExample(ContmMainExample example);

    int updateByExampleSelective(@Param("record") ContmMain record, @Param("example") ContmMainExample example);

    int updateByExample(@Param("record") ContmMain record, @Param("example") ContmMainExample example);

    int updateBatch(List<ContmMain> list);

    int batchInsert(@Param("list") List<ContmMain> list);

    int insertOrUpdate(ContmMain record);

    int insertOrUpdateSelective(ContmMain record);

}